<?php
//配置文件
return [
    // 阿里大鱼
    'AlidayuAppKey' => '23365978',  // app key
    'AlidayuAppSecret' => '81b7960986d6629fb63b4c1809aef20b',  // app secret
    'AlidayuApiEnv' => 1, // api请求地址，1为正式环境，0为沙箱环境
//'dsn' => 'mongodb://slzd:slzd20170315@dds-bp12efeaccd7eab41.mongodb.rds.aliyuncs.com:3717,dds-bp12efeaccd7eab42.mongodb.rds.aliyuncs.com:3717/slzd_dev?replicaSet=mgset-1356251'
    // 项目名称
    'ProjectName' => '顺路直递',

    // 资源配置
    'HEADIMG_PATH' => '/uploads/driver/headImg/',
    'SELLER_PATH' => '/uploads/seller/image/',
    'AUTH_PATH' => [
        'driverHead' => '/uploads/auth/driverHead/',
        'drivingLicense' => '/uploads/auth/drivingLicense/',
        'scDrivingLicense' => '/uploads/auth/scDrivingLicense/',
        'driversLicense' => '/uploads/auth/driversLicense/',
        'expressHeadImg' => '/uploads/auth/expressHeadImg/',
        'zfzzphoto' => '/uploads/auth/sfzzphoto/',
        'zfzfphoto' => '/uploads/auth/sfzfphoto/'
    ],
    'msgPicPath' => '/uploads/message/',
    'USER_CONFIG' => [
        'HEADIMG_PATH' => '/uploads/avatar/c/'
    ],
    'ORDER_CONFIG' => [
        'ORDER_KD_PATH' => '/uploads/order/c/'
    ],
    'STATUS' => [
        'Itinerary_CANCEL' => 10,// 行程删除
        'Itinerary_DEL' => 0,// 删除行程,
        'order_del_driver' => 1,// 司机删除订单
        'order_normal_driver' => 0,// 司机正常
    ],
    'DRIVER_AUTH_STATUS' => [
        'NOT' => 1,// 未认证,
        'PUT' => 2,// 已提交
        'SUCCESS' => 3,// 认证成功
        'ERROR' => 4,// 认证拒绝
    ],
    'ORDER_STATUS' => [
        'CENTER' => 0,// 取消,
        'CREATE' => 1,// 订单已经创建,
        'ORDERS' => 2,// 订单已被接,待支付
        'HASPAY' => 3,// 订单已支付,待上车
        'HASMET' => 4,// 司机已到达,乘客上车
        'ARRIVE' => 5,// 已到达目的地(完成)
    ],
    // 'Pay' => [
    //     'PingPay_AppId' => 'app_fTGmjDiPmPCCLmfv',
    //     'Test_Secret_Key' => 'sk_test_G0WvrP9SaDK4H8ejb5GWHKWL',
    //     'Live_Secret_Key' => 'sk_live_mnvnzPCqXHyLrz9yzH0G8yPC'
    // ],
    'pay' => [
    // 微信支付参数
    'wechat' => [
        'debug'      => false, // 沙箱模式
        'app_id'     => 'wx7fd515b0b4dff749', // 应用ID
        'mch_id'     => '1400677902', // 微信支付商户号
        'mch_key'    => 'b9bec61eb00e86a57371ac161b14fe68', // 微信支付密钥
        'ssl_cer'    => '', // 微信证书 cert 文件
        'ssl_key'    => '', // 微信证书 key 文件
        'notify_url' => 'seller.shunluzhidi.com/Pay/wxCallback', // 支付通知URL
    ],
    // 支付宝支付参数
    'alipay' => [
        'debug'       => false, // 沙箱模式
        'app_id'      => '2017031606248355', // 应用ID
        'public_key'  => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB', // 支付宝公钥(1行填写)
        'private_key' => 'MIICXgIBAAKBgQDqRdR1Z3TJJa/0pkSeux0XYWNVcntwL5898TNTsTMCozy32sUZ
vnIIJeqWc2wC8hGE1AgLyEjXLopSD11zXzqNEDG5KGSzt+qmIq8LgFmNgwEclFsu
nZehenaF67h7MhSiR45IBrQ41iL21QNb4gfULq7JAOiWSvRXkzJ53K/qywIDAQAB
AoGBAKbIef3vXlxJgWAZ8uZSbd6UTcSqUSjILoVJr3HYyGkLT5HQpNu0ErisTbs4
ht/99+zpiqTgvMK89mp/V9doJ2Si90PAz6xYqT6L84s1gVXw4sWED2M6unlCRuGq
1scR+fVbVk//0SUDmHe8/mXx9veh8yeIl9WWIJMApntTmSVpAkEA/s3CAzp9cNTn
F/lbn7sYOhfy1lhOfFrVuD7AopVS8I+2YoSx/N6WM7Jg+XP5raMGGVQ3520jEPHq
GHafRMMKfQJBAOtfZXrW+FtSnFpXArIXzYoicvWubQEMOfU729D01nb9CauR6oCV
7EOWAP3Ks8liWscXK02qZ9Sjl5syZFW9hOcCQB5qU0FtZvHkCB3dfylm/PJaT3t0
mRHRCffvTbFan8blcMD70/86VrWfEmJUjLZEYoL9gZrXdTsdlXMMHeDoY0UCQQCC
ItWN7IuWmn9eJ5uS8jwvcsqS8eTM3oCxCW6JAsYNNeyB0wSQIdRmrepQaCGtZ9b/
Gt1TbLNJy0WIhn0ZNtbjAkEAvaFG470mc9yN/RdbijrSoOadpKzBwoEZkDEEpmI2
QR1PjM7FK+Fsr4C9I4Abc8/3ZLkNUnR8UCgwEGAIewARpw==', // 支付宝私钥(1行填写)
        'notify_url'  => 'seller.shunluzhidi.com/Pay/aliCallback', // 支付通知URL
    ]
],
    'BaiduAk' => 'uPYYI8r1UF9eu3gc2NwrUsAD36P2QP2P',
    'WebHooksKey' => 'fdsjkafjdasj1329081jkdska',
    'jPushCustomerAppKey' => 'f6938767c79eb6821ac8c208',
    'jPushCustomerSecret' => 'd4607f1b20e714a1f56c517d',
    'jPushDriverAppKey' => 'e65559ba1d5ae41d9857a796',
    'jPushDriverSecret' => '033032a48d2b39e48354c36a',
    'jPushUserAppKey' => 'f6938767c79eb6821ac8c208',
    'jPushUserSecret' => 'd4607f1b20e714a1f56c517d',
    'inviteFriends' => [
        'integration' => 300,// 奖励积分
        'money' => 200,// 奖励人民币
        'reward' => 10// 奖励
    ],
    'path'=>[
        'userimg' => 'http://app.shunluzhidi.com/uploads/avatar/c/',
        'driverimg' => 'http://api.shunluzhidi.com/uploads/driver/headImg/',
        'admimg' => 'http://selleradm.shunluzhidi.com',
    ],
    //距离
    'distance' => 0.249,
    'default_return_type'=>'json',
    'view_replace_str'       => [
            '__IMG__'  => '/static/imgs',
        ],
    'radius'=>20
];